/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.cezary.butler.walili.server.db.tables;

import java.sql.Types;

/**
 *
 * @author czarek
 */
public enum ZadaniaId implements ITableDefinition {

    id_polozenie(Types.INTEGER),
    id_reszta(Types.INTEGER);
    
    private int jdbcType;

    private ZadaniaId(int jdbcType) {
        this.jdbcType = jdbcType;
    }

    @Override
    public int getJdbcType() {
        return jdbcType;
    }

    @Override
    public int getColumnIndex() {
        return ordinal() +1;
    }

    @Override
    public ITableDefinition[] getColumns() {
        return values();
    }
    
    

    @Override
    public String getTable() {
        return "zadania_id";
    }
}
